IEdge Struct Reference
[External Interfaces]

Inheritance diagram for IEdge:

IMCUnknown List of all members.

Public Member Functions

virtual I3DExVertex *MCCOMAPI GetVertex (long index)=0
virtual void MCCOMAPI Delete ()=0
virtual void MCCOMAPI GetBoundingBox (TBBox3D &bbox)=0
virtual void MCCOMAPI SetSelection (boolean selected, boolean autoSelection=true)=0
virtual boolean MCCOMAPI GetSelection ()=0
virtual I3DExVertex *MCCOMAPI Subdivide (const real32 ratio=kRealOneHalf)=0
virtual void MCCOMAPI GetPolymesh (IPolymesh **iPolymesh)=0
virtual I3DExVertex *MCCOMAPI GetOtherVertex (I3DExVertex *vertex)=0
virtual boolean MCCOMAPI GetCrease ()=0
virtual void MCCOMAPI SetCrease (boolean crease)=0
virtual IPolygon *MCCOMAPI GetPolygon (long index)=0
virtual long MCCOMAPI GetNbPolygons ()=0
virtual real MCCOMAPI Length ()=0
virtual IPolygon *MCCOMAPI GetOtherPolygon (IPolygon *polygon)=0
virtual IEdge *MCCOMAPI CloneConjugate ()=0
virtual void MCCOMAPI UnlinkDelete ()=0
virtual void MCCOMAPI GetName (char *name)=0
virtual void MCCOMAPI SetName (char *name)=0
virtual boolean MCCOMAPI GetBestPlane (TVector3 &ii, TVector3 &jj, TVector3 &kk, TVector3 &center)=0
virtual void MCCOMAPI PropagateEdgeSelection (real angle)=0
virtual int32 MCCOMAPI GetSelectedPolylinePositions (TMCArray< TVector3 > &selectedPolylinePos, TVector3 &normal, TVector3 &center, int32 constraints)=0

Detailed Description

IEdge is the interface to access an edge of the vertex primitive (see I3DExVertexPrimitive).


Member Function Documentation

virtual IEdge* MCCOMAPI IEdge::CloneConjugate (   )  [pure virtual]
 

virtual void MCCOMAPI IEdge::Delete (   )  [pure virtual]
 

Deletes the edge.

virtual boolean MCCOMAPI IEdge::GetBestPlane (  TVector3 &  ii,
TVector3 &  jj,
TVector3 &  kk,
TVector3 &  center
)  [pure virtual]
 

Returns a coordinate system based on the edge and the adjacents polygons

Parameters:
ii vector in the plane
jj vector in the plane
kk returned vector perpendicular to the plane
center returned the mid edge point
Returns:
false if couldn't build a consistant system

virtual void MCCOMAPI IEdge::GetBoundingBox (  TBBox3D &  bbox  )  [pure virtual]
 

virtual boolean MCCOMAPI IEdge::GetCrease (   )  [pure virtual]
 

virtual void MCCOMAPI IEdge::GetName (  char *  name  )  [pure virtual]
 

Returns the name of edge.

Parameters:
name The name of the edge.

virtual long MCCOMAPI IEdge::GetNbPolygons (   )  [pure virtual]
 

virtual IPolygon* MCCOMAPI IEdge::GetOtherPolygon (  IPolygon *  polygon  )  [pure virtual]
 

virtual I3DExVertex* MCCOMAPI IEdge::GetOtherVertex (  I3DExVertex *  vertex  )  [pure virtual]
 

virtual IPolygon* MCCOMAPI IEdge::GetPolygon (  long  index  )  [pure virtual]
 

virtual void MCCOMAPI IEdge::GetPolymesh (  IPolymesh **  iPolymesh  )  [pure virtual]
 

virtual int32 MCCOMAPI IEdge::GetSelectedPolylinePositions (  TMCArray< TVector3 > &  selectedPolylinePos,
TVector3 &  normal,
TVector3 &  center,
int32  constraints
)  [pure virtual]
 

virtual boolean MCCOMAPI IEdge::GetSelection (   )  [pure virtual]
 

virtual I3DExVertex* MCCOMAPI IEdge::GetVertex (  long  index  )  [pure virtual]
 

Returns a pointer to the vertices of the edge.

Parameters:
index The index of the vertices (0 or 1).

virtual real MCCOMAPI IEdge::Length (   )  [pure virtual]
 

virtual void MCCOMAPI IEdge::PropagateEdgeSelection (  real  angle  )  [pure virtual]
 

virtual void MCCOMAPI IEdge::SetCrease (  boolean  crease  )  [pure virtual]
 

virtual void MCCOMAPI IEdge::SetName (  char *  name  )  [pure virtual]
 

Sets the name of edge.

Parameters:
name The name of the edge.

virtual void MCCOMAPI IEdge::SetSelection (  boolean  selected,
boolean  autoSelection = true
)  [pure virtual]
 

Select or unselect the edge. Depending on the mode used, edges and polygons around can be selected

Parameters:
selected True if the edge is selected.
autoSelection 

virtual I3DExVertex* MCCOMAPI IEdge::Subdivide (  const real32  ratio = kRealOneHalf  )  [pure virtual]
 

virtual void MCCOMAPI IEdge::UnlinkDelete (   )  [pure virtual]
 


The documentation for this struct was generated from the following file:
Generated on Wed Dec 7 14:27:35 2005 for Carrara SDK Doc by  doxygen 1.4.5